package com.example.myui.activity;

import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;

import com.example.myui.R;
import com.example.myui.widget.BottomNavigationViewEx;

public class BottomNavActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bottom_nav);

        BottomNavigationViewEx naview = findViewById(R.id.bnve_icon_margin_top);
        naview.enableAnimation(false);
        naview.enableItemShiftingMode(false);
        naview.enableShiftingMode(false);

        //修改icon图标样式
        //结合viewpager

    }
}
